package com.wxy.事务管理注解;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class test {
	public static void main(String [] args) {
		ApplicationContext applicationContext=new ClassPathXmlApplicationContext("事务管理注解.xml");
		userDao userDao=applicationContext.getBean("userDao",userDao.class);
		userDao.update("张三","李四",500);
	}
}
